package com.mdd.admin.validate;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.sql.Date;
import javax.validation.constraints.*;

@Data
@ApiModel("发文记录创建参数")
public class DocumentRecordCreateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "收件人编号")
    private String recipientsId;

    @ApiModelProperty(value = "收件人")
    private String recipients;

    @ApiModelProperty(value = "主题")
    private String theme;

    @ApiModelProperty(value = "发文类型编号")
    private String documentTypeId;

    @ApiModelProperty(value = "发文类型")
    private String documentType;

    @ApiModelProperty(value = "客户名称")
    private String customerName;

    @ApiModelProperty(value = "发文日期")
    private String documentTime;

    @ApiModelProperty(value = "发文模板")
    private String documentTemplate;

    @ApiModelProperty(value = "邮件标签")
    private String mailLabel;

    @ApiModelProperty(value = "完成事项")
    private String achieveMatter;

    @ApiModelProperty(value = "附件")
    private String accessory;

    @ApiModelProperty(value = "发件人")
    private String addresser;

    @ApiModelProperty(value = "抄送")
    private String copy;

    @ApiModelProperty(value = "密送")
    private String blindCarbonCopy;

    @ApiModelProperty(value = "邮件描述")
    private String mailDescribe;

    @ApiModelProperty(value = "正文")
    private String text;

    @ApiModelProperty(value = "邮件签名")
    private String mailSignature;

    @ApiModelProperty(value = "应返稿日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date returnableDate;
}
